Mint\MRM\DataBase\Models\EmailModel D

Total Complexity 161
Dependencies 12
Dependents 12
Total lines 1,780
Lines of code 937
Logical lines of code 577
Comment lines 702
Methods 65
Properties 0

Methods 65

Method Rating Maintainability Complexity Lines of code
get_order_total_from_email()
B
40 20 55
get_automation_emails_to_contact_details()
A
44 13 40
get_order_ids_for_all()
A
43 12 42
get_emails_to_contact()
S
48 6 31
get_broadcast_emails_click_time()
S
51 6 26
get_broadcast_emails_open_time()
S
51 6 26
get_order_total_for_quarterly()
S
49 5 28
get_messages()
S
54 4 19
get_all_order_ids_from_email()
S
62 4 11
get_emails_to_contact_details()
S
49 2 35
get_automation_sequence_emails_to_contact_details()
S
49 2 35
get_regular_emails_to_contact_details()
S
49 2 35
get_order_total_for_all_yearly()
S
53 3 20
last_opened_email_single_contact()
S
57 3 17
last_clicked_email_single_contact()
S
57 3 17
count_email_open_click_on_contact()
S
58 3 14
count_delivered_status_single_contact()
S
59 3 13
get_order_total_for_week()
S
53 2 21
get_order_ids_for_all_yearly()
S
54 2 19
get_order_ids_for_quarterly()
S
54 2 19
get_order_total_for_month()
S
55 2 18
insert_or_update_email_meta()
S
57 2 18
get_order_total_for_year()
S
55 2 18
get_order_ids_for_year()
S
56 2 17
get_order_ids_for_week()
S
56 2 17
get_order_ids_for_month()
S
56 2 17
count_total_email_open_on_device()
S
56 2 16
count_total_email_click_on_device()
S
56 2 16
delete_scheduled_emails_meta()
S
59 2 13
count_total_revenue_to_campaign_email()
S
61 2 11
delete_multiple_broadcast_email_by_contact_id()
S
62 2 10
count_broadcast_email_ids_to_campaign()
S
64 2 9
is_email_meta_exist()
S
63 2 10
delete_broadcast_email_by_contact_id()
S
61 1 13
update_broadcast_email_meta()
S
61 1 13
insert()
S
62 1 12
last_email_sent_single_contact()
S
63 1 11
get_broadcast_email_ids_to_contact()
S
63 1 11
count_delivered_status()
S
71 1 5
count_email_metrics_on_automation_sequence()
S
65 1 8
count_delivered_status_on_automation_sequence()
S
68 1 6
update()
S
71 1 5
update_email_by_hash()
S
71 1 5
total_broadcast_email_ids_to_contact()
S
71 1 5
recurring_campaign_total_recipients()
S
71 1 5
insert_email_meta()
S
65 1 9
delete_scheduled_emails()
S
67 1 7
count_total_orders_to_campaign_email()
S
68 1 6
insert_broadcast_email_meta()
S
66 1 9
count_email_open()
S
68 1 6
get_broadcast_email_by_hash()
S
69 1 6
calculate_click_rate_on_campaign()
S
68 1 6
calculate_bounched_on_campaign()
S
71 1 5
count_delivered_status_on_campaign()
S
71 1 5
count_unsubscribe()
S
68 1 6
get_total_revenue_from_email()
S
70 1 5
get_broadcast_email_meta()
S
70 1 5
count_unsubscribe_on_campaign()
S
68 1 6
count_per_hour_total_email_open()
S
66 1 7
count_per_hour_total_link_click()
S
66 1 7
count_per_hour_total_unsubscribe()
S
66 1 7
count_four_hours_email_open()
S
68 1 6
count_email_click()
S
68 1 6
get_contact_id_by_hash()
S
71 1 5
calculate_open_rate_on_campaign()
S
68 1 6